<?php
    include 'Driver.class.php';
    
    $Driver = Driver::LoadDriver('mssql');
    $Driver->SetHost('localhost');
    $Driver->SetLogin('sa');
    $Driver->SetPass('');
    $Driver->SetPort(1433);
    $Driver->SetDb('Muonline');
    $Driver->SetPersistent(false);
    $Driver->Connect();
    
    $Check = $Driver->ExecuteReturn("SELECT memb___id from memb_info");
    
    while($ar = $Check->FetchObject())
    {
        echo "<br /> Object : " . $ar->memb___id;
    }
    
    $Check2 = $Driver->ExecuteReturn("SELECT memb___id from memb_info");
    
    while($b = $Check2->FetchArray())
    {
        echo "<br />Array :" . $b['memb___id'];
    }
    
    $Check3 = $Driver->ExecuteReturn("SELECT memb___id from memb_info");
    
    while($c = $Check3->FetchRow())
    {
        echo "<br /> Row: " . $c[0];
    }
    
    
?>